package com.itheima.edu.domain;

public class Person {
        private String id;
        private String name;
        private String age;
        private String birthday;

        public Person() {
        }

        public Person(String id, String name, String age, String birthday) {
            this.id = id;
            this.name = name;
            this.age = age;
            this.birthday = birthday;
        }

        @Override
        public String toString() {
            return  id + "\t" + name + "\t" + age + "\t" + birthday;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public void getPerson(String id, String name, String age, String birthday){
            this.id = id;
            this.name = name;
            this.age = age;
            this.birthday = birthday;
        }
    }

